#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>

int main()
{
	float score[5] = { 0.0 };
	int i = 0;
	float sum = 0;
	for (i = 0; i < 5; i++)
	{
		scanf("%f %f %f %f %f", &score[0], &score[1], &score[2], &score[3], &score[4]);
		sum = score[0] + score[1] + score[2] + score[3] + score[4];
		printf("%.1f %.1f %.1f %.1f %.1f %.1f", score[0], score[1], score[2], score[3], score[4],sum);
	}
	return 0;
}